package com.shop.model;

public class Teacher {
    // Attributes
    private String teacherId;
    private String name;
    private String subject;
    private String courseId;
    private String password;
    private String identity;


    // Default Constructor
    public Teacher() {
    }

    // Parameterized Constructor
    public Teacher(String teacherId,String name, String subject,String courseId,String password,String identity) {
        this.teacherId = teacherId;
        this.name = name;
        this.subject = subject;
        this.courseId = courseId;
        this.password = password;
        this.identity = identity;
    }

    // Getter and Setter Methods


    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    // ToString Method
    @Override
    public String toString() {
        return "Teacher{" +
                "teacherId='" + teacherId + '\''+
                ", name='" + name + '\'' +
                ", subject='" + subject + '\'' +
                ", courseId='" + courseId + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
